function combind(list) {
    let newArr = []
    let keyArr = Object.keys(list)
    keyArr.forEach(item => {
        if (list[item].hasOwnProperty('x')) {
            newArr.push(list[item])
        }
    })
    return newArr
}
export async function getCateInfo(list,callback) {
    let face = await combind(list.face)
    let left_eye = await combind(list.left_eye)
    let left_eye_eyelid = await combind(list.left_eye_eyelid)
    let left_eyebrow = await combind(list.left_eyebrow)
    let mouth = await combind(list.mouth)
    let nose = await combind(list.nose)
    let right_eye = await combind(list.right_eye)
    let right_eye_eyelid = await combind(list.right_eye_eyelid)
    let right_eyebrow = await combind(list.right_eyebrow)
    
    callback([...face, ...left_eye, ...left_eye_eyelid, ...left_eyebrow, ...mouth, ...nose, ...right_eye, ...right_eye_eyelid, ...right_eyebrow])   

    

}

